Without this the build segfaults in marker.c when trying to construct
c-by.el.
cf. https://lists.gnu.org/archive/html/emacs-devel/2017-03/msg00798.html
Thanks to Gianfranco Costamagna for reporting the bug and Barry Warsaw
for suggesting the workaround.
Closes: 868165
deb_host_multiarch := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+# Without this, the build dies in marker.c when trying to create c-by.el
+ifeq ($(DEB_HOST_ARCH),arm64)
+ export DEB_CFLAGS_MAINT_APPEND := -O0
+endif
+
CFLAGS = $(shell dpkg-buildflags --get CFLAGS)
CFLAGS += -Wall
LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)